package com.example.mideaoem.api.handler;

import java.util.Map;

public interface SecurityHandle {

	/**
	 * 登陆后敏感数据加密
	 * @param content
	 * @param appKey
	 * @param accessToken
	 * @return
	 */
	public String Encrypt(String content, String appKey, String accessToken);
	
	public String Decrypt(String content, String appKey, String accessToken);
	
	public String RequestSign(String urlAddr, String apiName, Map<String, String> map, String appKey);
	
	public String ResponseSign(String urlAddr, String apiName, String response, String appKey);
	
	public String loginEncrypt(String content, String loginId, String appKey);
	
	public String registerEncrypt(String content);
	
	
}
